GetLayoutMetricsResponse

data class GetLayoutMetricsResponse(layoutViewport: LayoutViewport, visualViewport: VisualViewport, contentSize: Rect)

Represents response frame that is returned from Page#getLayoutMetrics operation call. Returns metrics relating to the layouting of the page, such as viewport bounds/scale.

See also

Constructors

GetLayoutMetricsResponse
Link copied to clipboard
fun GetLayoutMetricsResponse(layoutViewport: LayoutViewport, visualViewport: VisualViewport, contentSize: Rect)

Properties

contentSize
Link copied to clipboard
val contentSize: Rect
Size of scrollable area.
layoutViewport
Link copied to clipboard
val layoutViewport: LayoutViewport
Metrics relating to the layout viewport.
visualViewport
Link copied to clipboard
val visualViewport: VisualViewport
Metrics relating to the visual viewport.

Sources

jvm source
Link copied to clipboard